<?

class decoration {

   function decoration(){
      return $this;
   }
   
   public function addCanvas($content) {
      global $smarty;
	  
	  $smarty->assign("content" ,$content);
      return $smarty->fetch("canvas.tpl"); 	  
   }

}

?>